package com.yyplatform.admin.platform.generator.model.enums;

import com.yyplatform.admin.infra.model.enums.OptionEnum;

/**
 * Created on 2024-09-23
 */
public enum FormTypeEnum implements OptionEnum<Integer> {

    INPUT(1, "输入框"),
    SELECT(2, "下拉框"),
    RADIO(3, "单选框"),
    CHECK_BOX(4, "复选框"),
    INPUT_NUMBER(5, "数字输入框"),
    SWITCH(6, "开关"),
    TEXT_AREA(7, "文本域"),
    DATE(8, "日期框"),
    DATE_TIME(9, "日期时间框");

    private int val;
    private String label;

    FormTypeEnum(int val, String label) {
        this.val = val;
        this.label = label;
    }


    @Override
    public Integer getValue() {
        return 0;
    }

    @Override
    public String getLabel() {
        return "";
    }
}
